<div>
	<hr>
	<ul class="breadcrumb">
		<li>
			<?php echo $this->Html->link('Trang chủ', array('controller' => 'backends', 'action' => 'admin_index'));?> <span class="divider">/</span>
		</li>
		<li>
			<?php echo $this->Html->link('Hình ảnh game', array('controller' => 'images', 'action' => 'admin_index'));?><span class="divider">/</span>
		</li>
		<li>
			<?php echo $this->Html->link('Thêm hình ảnh mới', array('controller' => 'images', 'action' => 'admin_add')); ?>
		</li>
	</ul>
	<hr>
</div>

<div class="row-fluid sortable">	
	<div class="box span12">
		<div class="box-header">
			<h2><i class="icon-tasks"></i><span class="break"></span>Thêm hình ảnh mới</h2>
		</div>
		<div class="box-content">
			<?php echo $this->Form->create('Image', array('type' => 'file')); ?>
				<table class="nhap-form">
					<tr>
						<td>Game</td>
						<td><?php echo $this->Form->input('game_id'); ?></td>
					</tr>
					<tr>
						<td>Đường dẫn ảnh</td>
						<td><?php echo $this->Form->input('url', array('type' => 'file', 'label' => false)); ?></td>
					</tr>
					
				<tr>
					<td colspan="2"><?php echo $this->Form->submit('Thêm hình ảnh'); ?></td>
				</tr>		
				</table>
			<?php echo $this->Form->end(); ?>	
		</div>	
	</div><!--/span-->

</div><!--/row-->
